package cn.tedu.rms.comment.mapper;

import cn.tedu.rms.comment.pojo.entity.Comment;
import cn.tedu.rms.comment.pojo.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {
    void updateComment(Comment comment);

    void insert(Comment comment);

    void deleteCommentById(Long id);

    List<CommentVO> selectMyComment(Long userId);
}
